﻿using System;
using System.Collections.Generic;

namespace Models.Models;

/// <summary>
/// 搜索日志
/// </summary>
public partial class SSearchHistory
{
    /// <summary>
    /// 自增id
    /// </summary>
    public ulong Id { get; set; }

    /// <summary>
    /// 用户id
    /// </summary>
    public uint UserId { get; set; }

    /// <summary>
    /// 品牌id
    /// </summary>
    public uint BrandId { get; set; }

    /// <summary>
    /// 分类id
    /// </summary>
    public uint CategoryId { get; set; }

    /// <summary>
    /// 搜索关键字
    /// </summary>
    public string Keywords { get; set; } = null!;

    /// <summary>
    /// 搜索价格区间
    /// </summary>
    public string ScreeningPrice { get; set; } = null!;

    /// <summary>
    /// 排序类型（字段名称）
    /// </summary>
    public string OrderByField { get; set; } = null!;

    /// <summary>
    /// 排序方式（asc, desc）
    /// </summary>
    public string OrderByType { get; set; } = null!;

    /// <summary>
    /// 日期 ymd
    /// </summary>
    public uint Ymd { get; set; }

    /// <summary>
    /// 添加时间
    /// </summary>
    public uint AddTime { get; set; }
}
